package com.cetccloud.ap.proxy.channel;

import com.cetccloud.ap.proxy.channel.cossDomain.model.CrossDomainModel;
import com.cetccloud.ap.proxy.channel.cossDomain.model.FileXmlModel;

public interface Channel {

    void message(String destAppId, CrossDomainModel model);

    void fileXml(String destZoneId, FileXmlModel model);

    void sendError(String msgId, String errorMessage);

    void receive(String data);
}
